package com.rop.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rop.model.system.SysUserRole;
import com.rop.model.vo.AssignRoleVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Title: SysUserRoleMapper
 * @Author Rop
 * @Date 2023/4/20 15:02
 * @description: 用户-角色
 */

@Repository
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

    /**
     * 批量新增用户角色对应关系
     * @param assignRoleVo vo
     * @return 批量新增结果
     */
    Integer batchInsert(@Param("vo") AssignRoleVo assignRoleVo);
}
